﻿namespace IterationLife.System.ExternalIdentity
{
    public interface IExternalUserProvider
    {
        ExternalUserInfo GetUserInfoByAuthorizationCode(string authorizationCode);

        ExternalUserInfo GetUserInfoByAccessToken(string accessToken);
    }
}
